﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.BusinessLogic.Interfaces;
using Core.Common;
using System.ComponentModel.Composition;
using Core.DataAccess.IRepositories;

namespace Core.BusinessLogic
{
    [Export(typeof(IFileFolderService))]
    public class FileFolderService : IFileFolderService
    {
        [Import]
        private IFileFolderRepository _repository;

        public FileFolderService()
        {
            MEFManager.Compose(this);
        }

        public void SaveFileFolder(List<long> files, Guid folderID, int accountID)
        {
            _repository.SaveFileFolder(files, folderID, accountID);
        }
    }
}
